package com.danlu.user;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;

@ApiModel(value="用户实体类")
public class User {
	@ApiModelProperty(value="用户id，主键")
	private Integer id ;
	
	@ApiModelProperty(value="用户姓名")
	private String name;
	
	@ApiModelProperty(value="密码")
	private String password;
	
	@ApiModelProperty(value="用户状态，是否在职")
	private Integer status;
	
	@ApiModelProperty(value="用户类型")
	private String type;
	
	
	public User() {}
	
	//构建函数
	public User(Integer id, String name, String password, Integer status, String type) {
		super();
		this.id = id;
		this.name = name;
		this.password = password;
		this.status = status;
		this.type = type;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	
}
